package cn.wawi.controller.sys;import javax.annotation.Resource;import cn.wawi.controller.BaseController;import cn.wawi.dao.sys.DepartmentDao;import cn.wawi.entity.sys.Department;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.RequestMapping;/** * controller继承 BaseController 拥有 * findAll       查询所有不分页 * findOne       查询一条记录 * findAllByPage 查询所有，分页 * deleteBatch 批量删除 * updateBatch 批量更新状态 * deleteOne 根据主键删除 * saveORupdate 主键id不为空时更新,否则保存 */@Controller@RequestMapping("/sys_dept")public class DepartmentController extends BaseController<Department>{	@Resource	protected DepartmentDao<Department> departmentDao;		}